.image-gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;

  .image-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
  }

  .image-gallery-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #000;
  }

  .image-gallery-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);

    .image-gallery-title {
      color: #fff;
      font-size: 16px;
      font-weight: 500;
    }

    .image-gallery-close {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(255, 255, 255, 0.2);
      border-radius: 50%;

      .close-icon {
        color: #fff;
        font-size: 20px;
        font-weight: bold;
      }
    }
  }

  .image-gallery-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;

    .image-gallery-swiper {
      width: 100%;
      height: 100%;

      .image-gallery-item {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        .image-gallery-image {
          max-width: 100%;
          max-height: 100%;
        }
      }
    }
  }

  .image-gallery-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);

    .image-gallery-indicator {
      color: #fff;
      font-size: 14px;
      background-color: rgba(255, 255, 255, 0.2);
      padding: 4px 8px;
      border-radius: 12px;
    }
  }
}
